package com.devbobcorn.nekorization;

import com.devbobcorn.nekorization.entities.ModEntityType;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

// The value here should match an entry in the META-INF/mods.toml file
@Mod(Nekorization.MODID)
public class Nekorization {
	public static final String MODID = "nekorization";

	// Directly reference a log4j logger.
	private static final Logger LOGGER = LogManager.getLogger();

	public Nekorization() {
		LOGGER.info("Meow~~ Miaow~~~"); // Translation: Hello World!
		// Register ourselves for server and other game events we are interested in
		MinecraftForge.EVENT_BUS.register(this);

		final IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();

		ModEntityType.ENTITY_TYPES.register(modEventBus);
	}
}
